﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ODailyAdd.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.MacModel.ODailyAdd" %>

<div class="pageContent">
    <form id="Form1" runat="server" action="MacModel/ODailyAdd.aspx?ajaxmethod=adddaily"
    class="pageForm required-validate" onsubmit="return validateCallbackODailyAdd(this,navTabAjaxDone);">
    <div class="pageFormContent"  layoutH="56">
        <p>
            <label>日报类别：</label>
            <input type="radio" name="DailyCategory" value="0" <%=DefaultDailyCategory==0?"checked":"" %>  />生产部&nbsp;
            <input type="radio" name="DailyCategory"  value="1" <%=DefaultDailyCategory==1?"checked":"" %>  />质管部&nbsp;
        </p>
         <div class="divider"></div>
        <p>
            <label>
                作业人员：</label>
            <input type="hidden" name="dwz.orgLookup.UserName" class="required" />
            <a class="btnLook" href="SysBasic/OUserLookUp.aspx?RoleId=8,5,27" lookupgroup="orgLookup"
                maxable="false" width="500" resizable="false" title="生产本部员工">
                <hi:text key="查找带回" />
            </a>
            <input type="text" name="dwz.orgLookup.RealName" class="required textInput" alt=""
                size="30" readonly="true" />
            
        </p>
        <div class="divider">
        </div>
        <table class="table" width="98%" >
            <thead  class="ODailyAdd">
                <tr>
                    <th align="center" width="100">
                        序号
                    </th>
                    <th width="100">
                        <a href="javascript:void(0);" id="sameworkdate">日期(复制)</a>
                    </th>
                    <th width="100">
                        工位
                    </th>
                    <th width="150">
                        作业内容(代码)
                    </th>
                    <th width="100">
                        <a href="javascript:void(0);" id="sameserialnumber">项目/机号(复制)</a>
                    </th>
                    <th width="100">
                        工时(分钟)
                    </th>
                    <th>
                        备注
                    </th>
                </tr>
            </thead>
            <tbody class="ODailyAdd">
                <tr>
                    <td class="tagtd">
                        1
                    </td>
                    <td>
                        <input type="text" name="WorkDate" size="10"  class="date required" yearstart="-10" yearend="5" readonly="true" />
                    </td>
                    <td>
                        <input type="text" name="GongWei"  size="10" />
                    </td>
                    <td>
                        <input type="text" name="JobCode"  size="10" class="required autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getjobcontentajax" swidth="150"/>
                    </td>
                    <td>
                        <input type="text" name="SerialNumber" class="autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getprojectajax" swidth="150" mustMatch="false" />
                    </td>
                    <td>
                        <input type="text" name="TaskTime"  size="10" class="required inputFloat" />
                    </td>
                    <td>
                        <input type="text" class="inputGetFormLimtt" name="Remark" />
                    </td>
                </tr>
               <tr>
                    <td  class="tagtd">
                       2
                    </td>
                    <td>
                        <input type="text" name="WorkDate" size="10"  class="date required" yearstart="-10" yearend="5" readonly="true" />
                    </td>
                    <td>
                        <input type="text" name="GongWei"  size="10" />
                    </td>
                    <td>
                        <input type="text" name="JobCode"  size="10" class="required autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getjobcontentajax" swidth="150"/>
                    </td>
                    <td>
                        <input type="text" name="SerialNumber" class="autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getprojectajax" swidth="150" mustMatch="false"/>
                    </td>
                    <td>
                        <input type="text" name="TaskTime"  size="10" class="required inputFloat" />
                    </td>
                    <td>
                        <input type="text" class="inputGetFormLimtt" name="Remark" />
                    </td>
                </tr>
                <tr>
                    <td  class="tagtd">
                        3
                    </td>
                   <td>
                        <input type="text" name="WorkDate" size="10"  class="date required" yearstart="-10" yearend="5" readonly="true" />
                    </td>
                    <td>
                        <input type="text" name="GongWei"  size="10" />
                    </td>
                    <td>
                        <input type="text" name="JobCode"  size="10" class="required autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getjobcontentajax" swidth="150"/>
                    </td>
                    <td>
                        <input type="text" name="SerialNumber" class="autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getprojectajax" swidth="150" mustMatch="false"/>
                    </td>
                    <td>
                        <input type="text" name="TaskTime"  size="10" class="required inputFloat" />
                    </td>
                    <td>
                        <input type="text" class="inputGetFormLimtt" name="Remark" />
                    </td>
                </tr>
                <tr>
                    <td  class="tagtd">
                        4
                    </td>
                    <td>
                        <input type="text" name="WorkDate" size="10"  class="date required" yearstart="-10" yearend="5" readonly="true" />
                    </td>
                    <td>
                        <input type="text" name="GongWei"  size="10" />
                    </td>
                    <td>
                        <input type="text" name="JobCode"  size="10" class="required autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getjobcontentajax" swidth="150"/>
                    </td>
                    <td>
                        <input type="text" name="SerialNumber" class="autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getprojectajax" swidth="150" mustMatch="false"/>
                    </td>
                    <td>
                        <input type="text" name="TaskTime"  size="10" class="required inputFloat" />
                    </td>
                    <td>
                        <input type="text" class="inputGetFormLimtt" name="Remark" />
                    </td>
                </tr>
                <tr>
                    <td  class="tagtd">5</td>
                    <td>
                        <input type="text" name="WorkDate" size="10"  class="date required" yearstart="-10" yearend="5" readonly="true" />
                    </td>
                    <td>
                        <input type="text" name="GongWei"  size="10" />
                    </td>
                    <td>
                        <input type="text" name="JobCode"  size="10" class="required autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getjobcontentajax" swidth="150"/>
                    </td>
                    <td>
                        <input type="text" name="SerialNumber" class="autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getprojectajax" swidth="150" mustMatch="false"/>
                    </td>
                    <td>
                        <input type="text" name="TaskTime"  size="10" class="required inputFloat" />
                    </td>
                    <td>
                        <input type="text" class="inputGetFormLimtt" name="Remark" />
                    </td>
                </tr>
                 <tr>
                    <td  class="tagtd">6</td>
                    <td>
                        <input type="text" name="WorkDate" size="10"  class="date required" yearstart="-10" yearend="5" readonly="true" />
                    </td>
                    <td>
                        <input type="text" name="GongWei"  size="10" />
                    </td>
                    <td>
                        <input type="text" name="JobCode"  size="10" class="required autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getjobcontentajax" swidth="150"/>
                    </td>
                    <td>
                        <input type="text" name="SerialNumber" class="autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getprojectajax" swidth="150" mustMatch="false"/>
                    </td>
                    <td>
                        <input type="text" name="TaskTime"  size="10" class="required inputFloat" />
                    </td>
                    <td>
                        <input type="text" class="inputGetFormLimtt" name="Remark" />
                    </td>
                </tr>
                 <tr>
                    <td  class="tagtd">7</td>
                    <td>
                        <input type="text" name="WorkDate" size="10"  class="date required" yearstart="-10" yearend="5" readonly="true" />
                    </td>
                    <td>
                        <input type="text" name="GongWei"  size="10" />
                    </td>
                    <td>
                        <input type="text" name="JobCode"  size="10" class="required autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getjobcontentajax" swidth="150"/>
                    </td>
                    <td>
                        <input type="text" name="SerialNumber" class="autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getprojectajax" swidth="150" mustMatch="false"/>
                    </td>
                    <td>
                        <input type="text" name="TaskTime"  size="10" class="required inputFloat" />
                    </td>
                    <td>
                        <input type="text" class="inputGetFormLimtt" name="Remark" />
                    </td>
                </tr>
                 <tr>
                    <td  class="tagtd">8</td>
                    <td>
                        <input type="text" name="WorkDate" size="10"  class="date required" yearstart="-10" yearend="5" readonly="true" />
                    </td>
                    <td>
                        <input type="text" name="GongWei"  size="10" />
                    </td>
                    <td>
                        <input type="text" name="JobCode"  size="10" class="required autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getjobcontentajax" swidth="150"/>
                    </td>
                    <td>
                        <input type="text" name="SerialNumber" class="autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getprojectajax" swidth="150" mustMatch="false"/>
                    </td>
                    <td>
                        <input type="text" name="TaskTime"  size="10" class="required inputFloat" />
                    </td>
                    <td>
                        <input type="text" class="inputGetFormLimtt" name="Remark" />
                    </td>
                </tr>
                 <tr>
                    <td  class="tagtd">9</td>
                    <td>
                        <input type="text" name="WorkDate" size="10"  class="date required" yearstart="-10" yearend="5" readonly="true" />
                    </td>
                    <td>
                        <input type="text" name="GongWei"  size="10" />
                    </td>
                    <td>
                        <input type="text" name="JobCode"  size="10" class="required autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getjobcontentajax" swidth="150"/>
                    </td>
                    <td>
                        <input type="text" name="SerialNumber" class="autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getprojectajax" swidth="150" mustMatch="false"/>
                    </td>
                    <td>
                        <input type="text" name="TaskTime"  size="10" class="required inputFloat" />
                    </td>
                    <td>
                        <input type="text" class="inputGetFormLimtt" name="Remark" />
                    </td>
                </tr>
                 <tr>
                    <td  class="tagtd">10</td>
                    <td>
                        <input type="text" name="WorkDate" size="10"  class="date required" yearstart="-10" yearend="5" readonly="true" />
                    </td>
                    <td>
                        <input type="text" name="GongWei"  size="10" />
                    </td>
                    <td>
                        <input type="text" name="JobCode"  size="10" class="required autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getjobcontentajax" swidth="150"/>
                    </td>
                    <td>
                        <input type="text" name="SerialNumber" class="autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getprojectajax" swidth="150" mustMatch="false"/>
                    </td>
                    <td>
                        <input type="text" name="TaskTime"  size="10" class="required inputFloat" />
                    </td>
                    <td>
                        <input type="text" class="inputGetFormLimtt" name="Remark" />
                    </td>
                </tr>
                 <tr>
                    <td  class="tagtd">11</td>
                    <td>
                        <input type="text" name="WorkDate" size="10"  class="date required" yearstart="-10" yearend="5" readonly="true" />
                    </td>
                    <td>
                        <input type="text" name="GongWei"  size="10" />
                    </td>
                    <td>
                        <input type="text" name="JobCode"  size="10" class="required autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getjobcontentajax" swidth="150"/>
                    </td>
                    <td>
                        <input type="text" name="SerialNumber" class="autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getprojectajax" swidth="150" mustMatch="false"/>
                    </td>
                    <td>
                        <input type="text" name="TaskTime"  size="10" class="required inputFloat" />
                    </td>
                    <td>
                        <input type="text" class="inputGetFormLimtt" name="Remark" />
                    </td>
                </tr>
                 <tr>
                    <td  class="tagtd">12</td>
                    <td>
                        <input type="text" name="WorkDate" size="10"  class="date required" yearstart="-10" yearend="5" readonly="true" />
                    </td>
                    <td>
                        <input type="text" name="GongWei"  size="10" />
                    </td>
                    <td>
                        <input type="text" name="JobCode"  size="10" class="required autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getjobcontentajax" swidth="150"/>
                    </td>
                    <td>
                        <input type="text" name="SerialNumber" class="autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getprojectajax" swidth="150" mustMatch="false"/>
                    </td>
                    <td>
                        <input type="text" name="TaskTime"  size="10" class="required inputFloat" />
                    </td>
                    <td>
                        <input type="text" class="inputGetFormLimtt" name="Remark" />
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="divider">
        </div>
        <dl class="nowrap">
				<dt>说明：</dt>
				<dd>
                    以上表格如果有一列(不包括备注列)没有输入值,则相应的行将不会被保存
                </dd>
			</dl>
    </div>
    <div class="formBar">
        <ul>
            <li>
                <div class="buttonActive">
                    <div class="buttonContent">
                        <button type="submit">
                            保存</button></div>
                </div>
            </li>
            <li>
                <div class="button">
                    <div class="buttonContent">
                        <button type="button" class="close">
                            取消</button></div>
                </div>
            </li>
        </ul>
    </div>
    </form>
</div>
